class AddFavorite < ActiveRecord::Migration
  create_table :favorites do |t|
    t.column :user_id,
    :integer, :null => false
    t.column :post_id,
    :integer, :null =>false
  end
end

def self.down
  drop_table :favorites
end
